package com.zy.datareceiver.binsess.monitoring.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "monitoring_device")
public class MonitoringDevice {
    /**
     * 监测设备id
     */
    @Id
    private Integer id;

    /**
     * 监测设备名称
     */
    @Column(name = "device_name")
    private String deviceName;

    /**
     * 获取监测设备id
     *
     * @return id - 监测设备id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置监测设备id
     *
     * @param id 监测设备id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取监测设备名称
     *
     * @return device_name - 监测设备名称
     */
    public String getDeviceName() {
        return deviceName;
    }

    /**
     * 设置监测设备名称
     *
     * @param deviceName 监测设备名称
     */
    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }
}